<?php 
namespace app\common\model;

use think\Model;

class Article extends Model
{
	protected function getCreateTimeAttr($v)
	{
		return date('Y-m-d H:i:s',$v);
	}
	protected function getUpdateTimeAttr($v)
	{
		return date('Y-m-d H:i:s',$v);
	}

	protected function setEvalAttr($v)
	{
		return $v ? true : false;
	}
}